# Contributor: Steven Honson <steven@honson.id.au>
# Maintainer: Steven Honson <steven@honson.id.au>
pkgname=uhubctl
pkgver=2.5.0
pkgrel=0
pkgdesc="USB hub per-port power control"
url="https://github.com/mvp/uhubctl"
license="GPL-2.0-only"
arch="all"
makedepends="libusb-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/mvp/uhubctl/archive/v$pkgver.tar.gz"
options="!check" # no test suite

build() {
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
2b902b7e1df788dd1d4720dcbc630c958e80619dee3bfe4bad222a089b7f2735c6189e5e7d497ce3782e6b6ee193906ea955621cf328a4022bce15f1179b1fda  uhubctl-2.5.0.tar.gz
"
